﻿<div class="container-fluid navbar-fixed-top top-bar">
    <div class="container-title">
        <div class="container-title-back" ng-click="back()"></div>
        <div class="container-title-main">我的收藏</div>
        <!--<div class="container-title-search"></div>-->
    </div>
</div>
<div class="clear88"></div>
<div class="qycx list-fixtop">
    <div class="nav-class">
        <div class="container-fluid">
            <table class="table">
                <tbody>
                    <tr>
                        <td><a class="active">&nbsp;&nbsp;&nbsp;&nbsp;我的新闻&nbsp;&nbsp;&nbsp;&nbsp;</a></td>
                        <td><a>&nbsp;&nbsp;&nbsp;&nbsp;我的公告&nbsp;&nbsp;&nbsp;&nbsp;</a></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
<div class="xx_bg"></div>
<div class="page1" id="div_data" openxtonscrolldown="f_showdata();">
    <div class="new_list_sw">
        <div ng-repeat="sin in list">
            <a ng-click="detail(sin.ID)">
                <div class="new_border">
                    <div class="container-fluid">
                        <div class="clear10"></div>
                        <div ng-class="{true:'col-lg-5 col-md-5 col-sm-5 col-xs-5',false:''}[{{sin.isimg}}]">
                            <img ng-src={{sin.SHOW_TITLE}}>
                        </div>
                        <div ng-class="{true:'col-lg-7 col-md-7 col-sm-7 col-xs-7',false:'newsclass'}[{{sin.isimg}}]">
                            <h1>{{sin.TITLE}}</h1>
                            <p>{{sin.ARTICLE_DT|datenormal}}</p>
                        </div>
                        <div class="clear10"></div>
                    </div>
                </div>
            </a>
        </div>
    </div>
</div>
<div class="page2" id="div_data2" openxtonscrolldown="f_showdata2();" style="display:none">
    <div class="new_border" ng-repeat="sin2 in list2">
        <div class="container-fluid" ng-click="detail2(sin2.ID)">
            <div class="new-con">
                <h1>{{sin2.TITLE}}</h1>
                <p>{{sin2.CONTENT}}</p>
                <h2>{{sin2.SOURCE}} {{sin2.CREATETIME}}</h2>
            </div>
        </div>
    </div>
</div>
<script>
    $(".qycx .table a").click(function () {
        $(".qycx .table a").removeClass("active");
        $(this).addClass("active");
    })
    $(".qycx td:eq(0)").click(function () {
        $(".page1").show();
        $(".page2").hide();
    })
    $(".qycx td:eq(1)").click(function () {
        $(".page2").show()
        $(".page1").hide();
    })
</script>
